<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/marvin.js"></script>
<!-- <script type="text/javascript" src="js/basic.js"></script>  -->
<script type="text/javascript">
function cc(){
	 var bg = chrome.extension.getBackgroundPage();
	 bg.catchContent();
	 document.getElementById('taContent').value = bg.collectedContent;
	}
</script>

</head>
<body>
<table width="400" cellspacing="0" border="0" cellpadding="10">
	<tbody>
		<tr>
			<td>Content</td>
			<td><INPUT type="button" value="Catch content!" id="bCatch"
				onclick="cc()"></td>
		</tr>
		<tr>
			<td colspan="2"><textarea rows="10" id="taContent"
				style="width: 400px"></textarea></td>
		</tr>
	</tbody>
</table>
<table width="500" cellspacing="0" border="0" cellpadding="0">
	<tbody>
		<tr>
			<td rowspan="2">Keyword_GET: <br>
			<INPUT type="button" name="bKGET" value="Send" id="bKGET" onclick="receiveKeywords()"> <br>
			<br>

			Keyword_GET- response: <br>
			<INPUT type="text" name="tKGET" id="tKGET"> <br>
			<br>

			Keyword_POST: <br>
			<INPUT type="text" name="tKPOST" id="tKPOSTP" value="priority"> <br>
			<INPUT type="text" name="tKPOST" id="tKPOSTK" value="keyword"> <br>
			<INPUT type="button" name="bKPOST" value="Send" id="bKPOST" onclick="addNewKeyword('tKPOSTP','tKPOSTK')">
			<br>
			<br>

			KeywordX_PUT: <br>
			<INPUT type="text" name="tKXPUT" id="tKXPUTOK" value="oldKeyword"> <br>
			<INPUT type="text" name="tKXPUT" id="tKXPUTP" value="priority"> <br>
			<INPUT type="text" name="tKXPUT" id="tKXPUTK" value="newKeyord"> <br>
			<INPUT type="button" name="bKXPUT" value="Send" id="bKXPUT" onclick="editKeyword('tKXPUTOK','tKXPUTP','tKXPUTK')">
			<br>
			<br>

			Keyword_DELETE: <br>
			<INPUT type="text" name="tKXDEL" id="tKXDEL" value="keyword"> <br>
			<INPUT type="button" name="bKXDEL" value="Send" id="bKXDEL" onclick="deleteKeyword('tKXDEL')">
			<br>
			<br>
			</td>
			
			<td>Content: <br>
			<INPUT type="text" name="tContent" id="tContent" > <br>
			<INPUT type="button" name="bContent" value="Send" id="bContent" onclick="sendContent('tContent')">
			<br>
			<br>

			Content - response: <br>
			<INPUT type="text" name="tContentR" id="tContentR"> <br>
			</td>
		</tr>
		<tr>
			<td>Search_POST: <br>
			<INPUT type="button" name="bSearch" value="Send" id="bSearch" onclick="receiveReferences()">
			<br>
			<br>

			Search_POST- response: <br>
			<INPUT type="text" name="tSearch" id="tSearch"> <br>
			</td>
		</tr>
	</tbody>
</table>

</body>
</html>